#include "head.h"

pid_t get_pid_from_proc_self ( )
{
	char target[32];
	int pid;

	readlink ("/proc/self", target, sizeof(target));
	sscanf(target, "%d", &pid);
	return (pid_t)pid;
}

